package cn.itcast.dao;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AccountDao {
    //SELECT * FROM account WHERE NAME LIKE '%乐%'
@Select("SELECT * FROM account WHERE NAME LIKE #{name}")
List<Account> findLike(String name);
}

